1bf7cacf5272429df8d63d28f239fcfecf1a03d6,platform/core-api/src/com/intellij/openapi/command/WriteCommandAction.java,WriteCommandAction,runWriteCommandAction,#Project#ThrowableComputable#,218

Before Change


        result.setResult(computable.compute());
      }
    }.execute();
    if (result.getThrowable() != null) throw (E)result.getThrowable();
    return result.throwException().getResultObject();
  }
}

After Change


        result.setResult(computable.compute());
      }
    }.execute();
    Throwable t = result.getThrowable();
    if (t != null) { @SuppressWarnings("unchecked") E e = (E)t; throw e; }
    return result.throwException().getResultObject();
  }